package com.hmdp.utils;

/**
 * @ClassName ILock
 * @Description TODO
 * @Author guobenqi
 * @Date 2022/4/23 21:46
 */
public interface ILock {
    /*尝试获取锁*/
    boolean tryLock(long timeoutSec);


    /*释放锁*/
    void unlock();
}
